﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wicresoft.SMS.Data
{
    public interface IHistoryWebDataAccess
    {
        List<HistoryInfoModel> GetHistoryByAll(int PageIndex, int MaxShow, ViewHistoryType Type, string Search, int BatchId);
        List<HistoryInfoModel> GetHistoryByGroup(int PageIndex, int MaxShow, int GroupId, ViewHistoryType Type, string Search);
        List<HistoryInfoModel> GetHistoryByUser(int PageIndex, int MaxShow, int UserId, ViewHistoryType Type, string Search, int batchid);
        int GetPageCount(ViewHistoryType Type, ViewHistoryRole Role, int Id, int MaxShow, string Search, int BatchId);
        bool ResentMessage(int BatchId);
        bool ResentMessageById(int Id);
        bool DeleteMessageById(int Id);
    }
}
